#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QSqlQuery>
#include <QLineEdit>
#include <QPushButton>
namespace Ui {
class teacherwidget;
}

class teacherwidget : public QWidget
{
    Q_OBJECT

public:
    explicit teacherwidget(QWidget *parent = nullptr);
    ~teacherwidget()override;


public slots:

private slots:
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
    void SearchData();

    void on_pushButton_3_clicked();

private:
    Ui::teacherwidget *ui;
    QSqlDatabase db;

};

#endif // WIDGET_H
